package com.yxb.teacher_application.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yxb.common.annotation.Excel;
import com.yxb.common.core.domain.BaseEntity;

/**
 * 家教申请对象 teacher_application
 * 
 * @author 林德炫
 * @date 2025-03-04
 */
public class TeacherApplication extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 家教申请唯一标识 */
    private Long applicationId;

    /** 教员ID */
    @Excel(name = "教员ID")
    private Long teacherId;

    /** 申请辅导科目 */
    @Excel(name = "申请辅导科目")
    private String subject;

    /** 申请状态 */
    @Excel(name = "申请状态")
    private String status;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applicationTime;

    public void setApplicationId(Long applicationId) 
    {
        this.applicationId = applicationId;
    }

    public Long getApplicationId() 
    {
        return applicationId;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setSubject(String subject) 
    {
        this.subject = subject;
    }

    public String getSubject() 
    {
        return subject;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setApplicationTime(Date applicationTime) 
    {
        this.applicationTime = applicationTime;
    }

    public Date getApplicationTime() 
    {
        return applicationTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("applicationId", getApplicationId())
            .append("teacherId", getTeacherId())
            .append("subject", getSubject())
            .append("status", getStatus())
            .append("applicationTime", getApplicationTime())
            .toString();
    }
}
